package com.edu.controller;

import com.edu.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: graduate
 * @description: 测试Controller
 * @author: 管浩杰
 * @create: 2021-05-22 15:07
 **/

@RestController
@RequestMapping("testController")
@Api(value="测试controller",tags={"测试接口"})
public class TestController {
    @GetMapping("test")
    @ApiOperation(notes = "提示信息", value = "方法描述")
    public Result<String> test(){
        return Result.success("响应成功", 1);
    }
}
